<script setup>
import {reactive} from "vue";

let items = reactive(['durant', 'kobe', 'james', 'curry'])
</script>

<template>
  <ul>
    <li v-for="item in items">{{ item }}</li>
  </ul>

  <ul>
    <li v-for="(item, index) in items">{{ index}}-{{ item }}</li>
  </ul>
</template>

<style scoped>

</style>